<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<c:set var="current_year_amt"><x:out  select="$xmlData/data/proposal/budget/current_year_amt"/></c:set>
<c:set var="second_year_amt"><x:out  select="$xmlData/data/proposal/budget/second_year_amt"/></c:set>
<c:set var="third_year_amt"> <x:out  select="$xmlData/data/proposal/budget/third_year_amt"/></c:set>
<div class="t_bar">
	绩效指标
</div>
<table id="eq_table1" cellpadding="0" class="table01 t_css" width="100%" border="0" cellpadding="0" style="*border-bottom: #a1c0dc 1px solid;">
	<col style="width:40%"/>
	<col style="width:20%"/>
	<col style="width:20%"/>
	<col style="width:20%"/>
	
	<tr>
		<td>具体指标</td>
		<td class="TblHead" align="center" ><span id="select_yea1" class="yea" label="第一个年度" name="proposal/select_yea1"
			onfocus="InitInput.setNumber(this,4,0,0)" style="width: 30px;text-align: right;">${param.statYear }</span>年度</td>
		<td class="TblHead" align="center" ><span id="select_yea2" class=" yea"  name="proposal/select_yea2" label="第二个年度"
			
			onfocus="InitInput.setNumber(this,4,0,0)" style="width: 30px;text-align: right;">${param.statYear+1 }</span>年度</td>
		<td class="TblHead" align="center" ><span id="select_yea3" class=" yea"  name="proposal/select_yea3" label="第三个年度"
			onfocus="InitInput.setNumber(this,4,0,0)" style="width: 30px;text-align: right;">${param.statYear+2 }</span>年度</td>
	</tr>
	<tr>
	    <td>1.本单位年度产值（万元）</td>
	    <td align="center">
	    	<input type="text" name="proposal/chanzhi" label="1.本单位年度产值" class="input_css " onfocus="InitInput.setNumber(this,9,2,2);"
	   	    style="width:80%;text-align:right;" value="<x:out select="$xmlData/data/proposal/chanzhi" />" />
	   	</td>
	   	<td align="center">
	    	<input type="text" name="proposal/chanzhi2" label="1.本单位年度产值" class="input_css " onfocus="InitInput.setNumber(this,9,2,2);"
	   	    style="width:80%;text-align:right;" value="<x:out select="$xmlData/data/proposal/chanzhi2" />" />
	   	</td>
	   	<td align="center">
	    	<input type="text" name="proposal/chanzhi3" label="1.本单位年度产值" class="input_css " onfocus="InitInput.setNumber(this,9,2,2);"
	   	    style="width:80%;text-align:right;" value="<x:out select="$xmlData/data/proposal/chanzhi3" />" />
	   	</td>	
	   	        
	</tr>
		
	<tr>
	    <td>2.工作站科技特派员数（个）</td>
	    <td align="center">
	    	<input type="text" name="proposal/tepaiyuan_num" label="${param.statYear }年度-->2.工作站科技特派员数" id="tepaiyuan_num" class="input_css valueGreatEqual:tepaiyuan_num:qz_tepaiyuan_num" onfocus="InitInput.setNumber(this,9,0,0);"
	    	style="width:80%;text-align:right;" value="<x:out select="$xmlData/data/proposal/tepaiyuan_num" />" />
	    </td>
	    <td align="center">
	    	<input type="text" name="proposal/tepaiyuan_num2" label="${param.statYear+1 }年度-->2.工作站科技特派员数" id="tepaiyuan_num2" class="input_css valueGreatEqual:tepaiyuan_num2:qz_tepaiyuan_num2" onfocus="InitInput.setNumber(this,9,0,0);"
	    	style="width:80%;text-align:right;" value="<x:out select="$xmlData/data/proposal/tepaiyuan_num2" />" />
	    </td>
	    <td align="center">
	    	<input type="text" name="proposal/tepaiyuan_num3" label="${param.statYear+2 }年度-->2.工作站科技特派员数" id="tepaiyuan_num3" class="input_css valueGreatEqual:tepaiyuan_num3:qz_tepaiyuan_num3" onfocus="InitInput.setNumber(this,9,0,0);"
	    	style="width:80%;text-align:right;" value="<x:out select="$xmlData/data/proposal/tepaiyuan_num3" />" />
	    </td>	    
	</tr>
		
	<tr>
	    <td><span style="margin-left: 10px;"></span>其中外聘科技特派员数（个）</td>
	    <td align="center">
	    	<input type="text" name="proposal/qz_tepaiyuan_num" label="${param.statYear }年度-->其中外聘科技特派员数" id="qz_tepaiyuan_num" class="input_css " onfocus="InitInput.setNumber(this,9,0,0);" 
	        style="width:80%;text-align:right;" value="<x:out select="$xmlData/data/proposal/qz_tepaiyuan_num" />" />
	     </td>
	     <td align="center">
	    	<input type="text" name="proposal/qz_tepaiyuan_num2" label="${param.statYear+1 }年度-->其中外聘科技特派员数" id="qz_tepaiyuan_num2" class="input_css " onfocus="InitInput.setNumber(this,9,0,0);" 
	        style="width:80%;text-align:right;" value="<x:out select="$xmlData/data/proposal/qz_tepaiyuan_num2" />" />
	     </td>
	     <td align="center">
	    	<input type="text" name="proposal/qz_tepaiyuan_num3" label="${param.statYear+2 }年度-->其中外聘科技特派员数" id="qz_tepaiyuan_num3" class="input_css " onfocus="InitInput.setNumber(this,9,0,0);" 
	        style="width:80%;text-align:right;" value="<x:out select="$xmlData/data/proposal/qz_tepaiyuan_num3" />" />
	     </td>	    
	</tr>
		
	<tr>
	    <td>3.所有外聘科技特派员每年累计在站工作总天数（天）</td>
	    <td align="center">
	    	<input type="text" name="proposal/work_date" label="3.所有外聘科技特派员每年累计在站工作总天数" class="input_css " onfocus="InitInput.setNumber(this,9,0,0);" 
	        style="width:80%;text-align:right;" value="<x:out select="$xmlData/data/proposal/work_date" />" />
	    </td>
	    <td align="center">
	    	<input type="text" name="proposal/work_date2" label="3.所有外聘科技特派员每年累计在站工作总天数" class="input_css " onfocus="InitInput.setNumber(this,9,0,0);" 
	        style="width:80%;text-align:right;" value="<x:out select="$xmlData/data/proposal/work_date2" />" />
	    </td>
	    <td align="center">
	    	<input type="text" name="proposal/work_date3" label="3.所有外聘科技特派员每年累计在站工作总天数" class="input_css " onfocus="InitInput.setNumber(this,9,0,0);" 
	        style="width:80%;text-align:right;" value="<x:out select="$xmlData/data/proposal/work_date3" />" />
	    </td>	    
	</tr>
		
	<tr>
	    <td>4、建立种养殖示范基地<br/><span style="margin-left: 10px"></span>其中：种植（亩）</td>
	    <td align="center">
	    	<input type="text" name="proposal/new_jidi" label="4、建立种养殖示范基地" class="input_css " onfocus="InitInput.setNumber(this,9,2,2);" 
	        style="width:80%;text-align:right;" value="<x:out select="$xmlData/data/proposal/new_jidi" />" />
	     </td>
	     <td align="center">
	    	<input type="text" name="proposal/new_jidi2" label="4、建立种养殖示范基地" class="input_css " onfocus="InitInput.setNumber(this,9,2,2);" 
	        style="width:80%;text-align:right;" value="<x:out select="$xmlData/data/proposal/new_jidi2" />" />
	     </td>
	     <td align="center">
	    	<input type="text" name="proposal/new_jidi3" label="4、建立种养殖示范基地" class="input_css " onfocus="InitInput.setNumber(this,9,2,2);" 
	        style="width:80%;text-align:right;" value="<x:out select="$xmlData/data/proposal/new_jidi3" />" />
	     </td>	    
	</tr>
		
	<%-- <tr>
	    <td><span style="margin-left: 10px"></span>其中：种植（亩）</td>
	    <td align="center">
	    	<input type="text" name="proposal/new_zhongzhi" label="其中：种植" class="input_css " onfocus="InitInput.setNumber(this,9,2,2);" 
	        style="width:80%;text-align:right;" value="<x:out select="$xmlData/data/proposal/new_zhongzhi" />" />
	    </td>
	    <td align="center">
	    	<input type="text" name="proposal/new_zhongzhi2" label="其中：种植" class="input_css " onfocus="InitInput.setNumber(this,9,2,2);" 
	        style="width:80%;text-align:right;" value="<x:out select="$xmlData/data/proposal/new_zhongzhi2" />" />
	    </td>
	    <td align="center">
	    	<input type="text" name="proposal/new_zhongzhi3" label="其中：种植" class="input_css " onfocus="InitInput.setNumber(this,9,2,2);" 
	        style="width:80%;text-align:right;" value="<x:out select="$xmlData/data/proposal/new_zhongzhi3" />" />
	    </td>	    
	</tr> --%>
	<tr>
	    <td><span style="margin-left: 45px"></span>水产养殖（亩）</td>
	    <td align="center">
	    	<input type="text" name="proposal/new_shuichan" label="水产养殖" class="input_css " onfocus="InitInput.setNumber(this,9,2,2);" 
	        style="width:80%;text-align:right;" value="<x:out select="$xmlData/data/proposal/new_shuichan" />" />
	    </td>
	    <td align="center">
	    	<input type="text" name="proposal/new_shuichan2" label="水产养殖" class="input_css " onfocus="InitInput.setNumber(this,9,2,2);" 
	        style="width:80%;text-align:right;" value="<x:out select="$xmlData/data/proposal/new_shuichan2" />" />
	    </td>
	    <td align="center">
	    	<input type="text" name="proposal/new_shuichan3" label="水产养殖" class="input_css " onfocus="InitInput.setNumber(this,9,2,2);" 
	        style="width:80%;text-align:right;" value="<x:out select="$xmlData/data/proposal/new_shuichan3" />" />
	    </td>	    
	</tr>
	<tr>
	    <td><span style="margin-left: 45px"></span>出栏牛、羊、猪等（头）</td>
	    <td align="center">
	    	<input type="text" name="proposal/new_chulan" label="出栏牛、羊、猪等" class="input_css " onfocus="InitInput.setNumber(this,9,0,0);" 
	        style="width:80%;text-align:right;" value="<x:out select="$xmlData/data/proposal/new_chulan" />" />
	    </td>
	    <td align="center">
	    	<input type="text" name="proposal/new_chulan2" label="出栏牛、羊、猪等" class="input_css " onfocus="InitInput.setNumber(this,9,0,0);" 
	        style="width:80%;text-align:right;" value="<x:out select="$xmlData/data/proposal/new_chulan2" />" />
	    </td>
	    <td align="center">
	    	<input type="text" name="proposal/new_chulan3" label="出栏牛、羊、猪等" class="input_css " onfocus="InitInput.setNumber(this,9,0,0);" 
	        style="width:80%;text-align:right;" value="<x:out select="$xmlData/data/proposal/new_chulan3" />" />
	    </td>	    
	</tr>
	<tr>
	    <td><span style="margin-left: 45px"></span>养殖家禽（羽）</td>
	    <td align="center">
	    	<input type="text" name="proposal/new_yangzhi" label="养殖家禽" class="input_css " onfocus="InitInput.setNumber(this,9,0,0);" 
	        style="width:80%;text-align:right;" value="<x:out select="$xmlData/data/proposal/new_yangzhi" />" />
	    </td>
	    <td align="center">
	    	<input type="text" name="proposal/new_yangzhi2" label="养殖家禽" class="input_css " onfocus="InitInput.setNumber(this,9,0,0);" 
	        style="width:80%;text-align:right;" value="<x:out select="$xmlData/data/proposal/new_yangzhi2" />" />
	    </td>
	    <td align="center">
	    	<input type="text" name="proposal/new_yangzhi3" label="养殖家禽" class="input_css " onfocus="InitInput.setNumber(this,9,0,0);" 
	        style="width:80%;text-align:right;" value="<x:out select="$xmlData/data/proposal/new_yangzhi3" />" />
	    </td>	    
	</tr>
		
	<tr>
	    <td>5.引进推广新品种、新技术、新装备合计数（项）</td>
	    <td align="center">
	    	<input type="text" name="proposal/tuighang_jishu" label="5.引进推广新品种、新技术、新装备合计数" class="input_css " onfocus="InitInput.setNumber(this,9,0,0);" 
	        style="width:80%;text-align:right;" value="<x:out select="$xmlData/data/proposal/tuighang_jishu" />" />
	    </td>
	    <td align="center">
	    	<input type="text" name="proposal/tuighang_jishu2" label="5.引进推广新品种、新技术、新装备合计数" class="input_css " onfocus="InitInput.setNumber(this,9,0,0);" 
	        style="width:80%;text-align:right;" value="<x:out select="$xmlData/data/proposal/tuighang_jishu2" />" />
	    </td>
	    <td align="center">
	    	<input type="text" name="proposal/tuighang_jishu3" label="5.引进推广新品种、新技术、新装备合计数" class="input_css " onfocus="InitInput.setNumber(this,9,0,0);" 
	        style="width:80%;text-align:right;" value="<x:out select="$xmlData/data/proposal/tuighang_jishu3" />" />
	    </td>	    
	</tr>
		
	<tr>
	    <td>6.服务新型农业经营主体（涉农企业、家庭农场、农民合作社、农业社会组织）数（个）</td>
	    <td align="center">
	    	<input type="text" name="proposal/fuwu_num" label="6.服务新型农业经营主体（涉农企业、家庭农场、农民合作社、农业社会组织）数" class="input_css " onfocus="InitInput.setNumber(this,9,0,0);" 
	        style="width:80%;text-align:right;" value="<x:out select="$xmlData/data/proposal/fuwu_num" />" />
	    </td>
	    <td align="center">
	    	<input type="text" name="proposal/fuwu_num2" label="6.服务新型农业经营主体（涉农企业、家庭农场、农民合作社、农业社会组织）数" class="input_css " onfocus="InitInput.setNumber(this,9,0,0);" 
	        style="width:80%;text-align:right;" value="<x:out select="$xmlData/data/proposal/fuwu_num2" />" />
	    </td>
	    <td align="center">
	    	<input type="text" name="proposal/fuwu_num3" label="6.服务新型农业经营主体（涉农企业、家庭农场、农民合作社、农业社会组织）数" class="input_css " onfocus="InitInput.setNumber(this,9,0,0);" 
	        style="width:80%;text-align:right;" value="<x:out select="$xmlData/data/proposal/fuwu_num3" />" />
	    </td>	    
	</tr>
		
	<tr>
	    <td><span style="margin-left: 10px;"></span>规模（总产值等，单位万元）</td>
	    <td align="center">
	    	<input type="text" name="proposal/fuwu_money" label="规模" class="input_css " onfocus="InitInput.setNumber(this,9,2,2);" 
	        style="width:80%;text-align:right;" value="<x:out select="$xmlData/data/proposal/fuwu_money" />" />
	    </td>
	    <td align="center">
	    	<input type="text" name="proposal/fuwu_money2" label="规模" class="input_css " onfocus="InitInput.setNumber(this,9,2,2);" 
	        style="width:80%;text-align:right;" value="<x:out select="$xmlData/data/proposal/fuwu_money2" />" />
	    </td>
	    <td align="center">
	    	<input type="text" name="proposal/fuwu_money3" label="规模" class="input_css " onfocus="InitInput.setNumber(this,9,2,2);" 
	        style="width:80%;text-align:right;" value="<x:out select="$xmlData/data/proposal/fuwu_money3" />" />
	    </td>	    
	</tr>
		
	<tr>
	    <td>7.培训和指导农业科技服务人次（人）</td>
	    <td align="center">
	    	<input type="text" name="proposal/peixun_num" label="7.培训和指导农业科技服务人次" class="input_css " onfocus="InitInput.setNumber(this,9,0,0);" 
	        style="width:80%;text-align:right;" value="<x:out select="$xmlData/data/proposal/peixun_num" />" />
	    </td>
	    <td align="center">
	    	<input type="text" name="proposal/peixun_num2" label="7.培训和指导农业科技服务人次" class="input_css " onfocus="InitInput.setNumber(this,9,0,0);" 
	        style="width:80%;text-align:right;" value="<x:out select="$xmlData/data/proposal/peixun_num2" />" />
	    </td>
	    <td align="center">
	    	<input type="text" name="proposal/peixun_num3" label="7.培训和指导农业科技服务人次" class="input_css " onfocus="InitInput.setNumber(this,9,0,0);" 
	        style="width:80%;text-align:right;" value="<x:out select="$xmlData/data/proposal/peixun_num3" />" />
	    </td>	    
	</tr>
		
	<tr>
	    <td>8.开展创业辅导活动数（场）</td>
	    <td align="center">
	    	<input type="text" name="proposal/chuangye_num" label="8.开展创业辅导活动数" class="input_css " onfocus="InitInput.setNumber(this,9,0,0);" 
	        style="width:80%;text-align:right;" value="<x:out select="$xmlData/data/proposal/chuangye_num" />" />
	    </td>
	    <td align="center">
	    	<input type="text" name="proposal/chuangye_num2" label="8.开展创业辅导活动数" class="input_css " onfocus="InitInput.setNumber(this,9,0,0);" 
	        style="width:80%;text-align:right;" value="<x:out select="$xmlData/data/proposal/chuangye_num2" />" />
	    </td>
	    <td align="center">
	    	<input type="text" name="proposal/chuangye_num3" label="8.开展创业辅导活动数" class="input_css " onfocus="InitInput.setNumber(this,9,0,0);" 
	        style="width:80%;text-align:right;" value="<x:out select="$xmlData/data/proposal/chuangye_num3" />" />
	    </td>	    
	</tr>
		
	<tr>
	    <td>9.创业辅导人数（人）</td>
	    <td align="center">
	    	<input type="text" name="proposal/chuangye_psn" label="9.创业辅导人数" class="input_css " onfocus="InitInput.setNumber(this,9,0,0);" 
	        style="width:80%;text-align:right;" value="<x:out select="$xmlData/data/proposal/chuangye_psn" />" />
	    </td>
	    <td align="center">
	    	<input type="text" name="proposal/chuangye_psn2" label="9.创业辅导人数" class="input_css " onfocus="InitInput.setNumber(this,9,0,0);" 
	        style="width:80%;text-align:right;" value="<x:out select="$xmlData/data/proposal/chuangye_psn2" />" />
	    </td>
	    <td align="center">
	    	<input type="text" name="proposal/chuangye_psn3" label="9.创业辅导人数" class="input_css " onfocus="InitInput.setNumber(this,9,0,0);" 
	        style="width:80%;text-align:right;" value="<x:out select="$xmlData/data/proposal/chuangye_psn3" />" />
	    </td>	    
	</tr>
		
	<tr>
	    <td>10.其它绩效情况</td>
	    <td align="center">
	    	<input type="text" name="proposal/nonghu_num" label="10.其它绩效情况" class="input_css " onfocus="InitInput.setNumber(this,9,0,0);" 
	        style="width:80%;text-align:right;" value="<x:out select="$xmlData/data/proposal/nonghu_num" />" />
	    </td>
	    <td align="center">
	    	<input type="text" name="proposal/nonghu_num2" label="10.其它绩效情况" class="input_css " onfocus="InitInput.setNumber(this,9,0,0);" 
	        style="width:80%;text-align:right;" value="<x:out select="$xmlData/data/proposal/nonghu_num2" />" />
	    </td>
	    <td align="center">
	    	<input type="text" name="proposal/nonghu_num3" label="10.其它绩效情况" class="input_css " onfocus="InitInput.setNumber(this,9,0,0);" 
	        style="width:80%;text-align:right;" value="<x:out select="$xmlData/data/proposal/nonghu_num3" />" />
	    </td>	    
	</tr>

</table>

<script type="text/javascript">
	$(function(){
		changeCss();
		fileInit_1("tblMileStones1","PDF",null,"{'PDF':'20480'}");
		$("#tblMileStones1").find(".file").hide();
	});
	function changeCss() {
			$("table.t_css").each(function(){
				$(this).find("tr:even").removeClass().addClass("li_1");
				$(this).find("tr:odd").removeClass().addClass("li_2");
			});
			changeCss1("fundInfo","tblMileStones1");
		}
		function changeCss1(id1,id2) {
			if($("#"+id1+" tr:last").attr("class")=="li_1"){
				$("#"+id2+" tr").removeClass("li_1").addClass("li_2");
			}else{
				$("#"+id2+" tr").removeClass("li_2").addClass("li_1");
			}
		}
		
		
		
		function uploadfile(index,i){
			if(2==index){
				$("#proof_file_data").click();
				
			}
			else
			$("#card_file").click();
		}
		/* function show(index){
			$("#kepu").find("#proof_file"+index).show();
		} */
		function fileInit_1(tableId, type, width, validateJson) {
			 var imgres="";
			
			 if(locale=="en_US"){
			    imgres="Upload_EN.gif";
			    
			}else{
				imgres="Upload_2.gif";
				
			}
			$("#" + tableId).find(":file").filestyle({
				image : res + "/images/"+imgres,
				imageheight : 25,
				imagewidth : 56,
				width : width
			});  
			$("#" + tableId).find(":file").not("#filedata\\[0\\]").each(function(i) {
				$(this).change(function() {
					var str = $(this).attr("id");
					var index = str.charAt(str.length - 1);
					showFileName_1($(this), tableId, type, validateJson,index);
				});
			});
		}
		
		function showFileName_1(obj, tableId, type, validateJson,index) {
			var max = null;
			var fileTblId=null;// 文件列表的表格id

			fileTblId=tableId;
			var filedata = obj.val();
			if (filedata == '')
				return;
			else if(max!=null && $.isNumeric(max) && fileTblId!=null && $("#"+fileTblId+" tr:gt(1)").length>=max){
				var label="";
				if($("#"+fileTblId).attr("label")!=null)
					label=$("#"+fileTblId).attr("label");
				
				scmWarn(label+messageTip.canNotUploadMoreThan+max+messageTip.files1);
				return;
			} else {
				var fileName = filedata.substring(filedata.replace(/\\/g, '/')
						.lastIndexOf('/') + 1);
				var end = fileName.substring(fileName.lastIndexOf(".") + 1,
						fileName.length).toUpperCase();
				if (type.indexOf(end) < 0) {
					scmWarn(messageTip.pleaseUpload + type + messageTip.files2, "100px");
					return;
				}
			}

			$("#" + tableId + " .file").val(fileName);
			ajaxFileUpload_1(obj,"orgattach", tableId, type, max, validateJson,index);
		}
		
		function ajaxFileUpload_1(obj,type, tblId, filetype, max, validateJson,index) {
			irisAjaxFileUpload_1(obj,type, tblId, filetype, max, validateJson,index);
		}
		
		function uploadSuccess_1(obj,data, tableId, filetype,index){
			$("#"+tableId).find("#file_code"+index).val(data[data.length-1].fileCode);
			$("#"+tableId).find("#file_name"+index).text(data[data.length-1].fileName);
			$("#"+tableId).find("#file_url"+index).attr("href", downloadPath + data[data.length-1].fileCode);
			$("#proof_file"+index).show();
			$("#sy_delConent"+index).show();
			
/* 				var fileDate = $("#" + tableId).find("span[id='file_date'"+index+"]");// 上传时间对象
*/				
				var fileDate = $("#" + tableId).find("#file_date"+index);// 上传时间对象
				var nowTime = showLocale(new Date());
			fileDate.text(nowTime);
			$("#"+tableId).find("#"+index).show();
		}
		
		function irisAjaxFileUpload_1(obj,type, tableId, fileType, max, validateJson,index) {
			if (type == null || type == '') {
				scmWarn(messageTip.pleaseEnterTypeOfAttachment);
				return;
			}
			$("#"+tableId+" input[type='file']").not(obj).each(function(){
				this.outerHTML=this.outerHTML.replace(/(value=\").+\"/i,"$1\""); 
			});

			
			prcWin.openWin();// 打开遮罩层
			$.ajaxFileUpload({
				url : ctx + '/file/ajax-fileupload',// 请求地址
				secureuri : false,// 一般设置为false
				fileElementId : 'filedata',// 文件的id属性
				limitSize : '10',// 允许上传的文件大小,单位M
				allowType : 'PDF',// 允许上传的文件类型.
				data : {
					'type' : type,
					'validateJson':validateJson
				},
				tableId : tableId,// tableID
				dataType : 'json',// 返回值类型
				success : function(data, status) // 服务器成功响应处理函数
				{
					if (data.result == 'error') {
						scmWarn(data.msg);
					} else {
						
						uploadSuccess_1(obj,data, tableId, fileType,index);
						
						
						$("#"+tableId).find(":file").not("#filedata\\[0\\]").each(function(i) {
							fileType="PDF";
							validateJson="{'PDF':'20480'}";
							$(this).unbind("change");
							$(this).change(function() {
								var str = $(this).attr("id");
								var index = str.charAt(str.length - 1);
								 showFileName_1($(this), tableId, fileType, validateJson,index); 
							});
						});
					}
					prcWin.closeWin();// 关闭遮罩层
				},
				error : function(data, status, e)// 服务器响应失败处理函数
				{
					$("#"+tableId+" input[type='file']").each(function(j) {
						this.outerHTML=this.outerHTML.replace(/(value=\").+\"/i,"$1\""); 
					});
					

					$("#"+tableId).find(":file").not("#filedata\\[0\\]").each(function(i) {
						fileType="JPG，PNG，DOC，WPS，DOCX，PDF，XLS，XLSX，TIFF，RAR";
						validateJson="{'JPG':'20480','PNG':'20480','DOC':'20480','WPS':'20480','DOCX':'20480','PDF':'20480','XLS':'20480','XLSX':'20480','TIFF':'20480','RAR':'20480'}";
						$(this).unbind("change");
						$(this).change(function() {
							showFileName_1($(this), "mainGoodsInfo", fileType, validateJson,index);
						});
					});
					if (data && data.responseText && data.responseText.indexOf('413') > -1) {
				scmError("上传的文件超过限制大小！");
			} else {
				scmError(status);
			}
					prcWin.closeWin();// 关闭遮罩层
				},
				complete:function()
				{
					prcWin.closeWin();// 关闭遮罩层
				}
			});

		}
		
		
		function delContent_1(tableId,index) {
			if (confirm("你确定要删除该附件？")) {
				/* $("#" + tableId).find("input[id='file_code']").val("");// 清空文件名
				$("#" + tableId).find("span[id='file_date']").text("");// 清空文件code
				$("#" + tableId).find("span[id='file_name']").text("");// 清空文件上传日期
				$("#"+tableId).find("#proof_content").hide(); */
				
				$("#" + tableId).find("#file_code"+index).val("");// 清空文件名
				$("#" + tableId).find("#file_date"+index).text("");// 清空文件code
				$("#" + tableId).find("#file_name"+index).text("");// 清空文件上传日期
				$("#"+tableId).find("#proof_content"+index).hide();
				
				$("#sy_delConent"+index).hide();
				$("#file"+index).val("");
				$("#proof_file"+index).hide();
				
				/* $("#" + tableId).find("#proof_file"+index).hide(); */
				
			}
		}	
		
</script>